{{template "base/base.html" .}}
{{template "base/base_common.html" .}}
{{define "meta"}}<title>{{i18n .Lang "auth.active_user"}} - {{i18n .Lang "app_name"}}</title>{{end}}
{{define "body"}}
<div class="row">
    <div id="content" class="col-md-8 col-md-offset-2">
    	<div class="box">
    		<div class="cell first breadcrumb">
    			<i class="ahead icon-home"></i> <a href="{{.AppUrl}}">{{i18n .Lang "app_name"}}</a>
    		</div>

    		<div class="cell last slim">
    			<div class="row">
    				<div class="col-md-12">
                        {{if .Success}}
                            <h3>{{i18n .Lang "auth.active_success"}}</h3>
                            <hr>
                            <p>
                                {{i18n .Lang "auth.active_verified"}}
                                <br><br>
                                <a class="btn btn-default" href="{{.AppUrl}}settings/profile">{{i18n .Lang "auth.active_view_profile"}}</a>
                            </p>
                        {{else}}
                            <h3>{{i18n .Lang "auth.active_failed"}}</h3>
                            <hr>
                            <p>
                                {{i18n .Lang "auth.active_failed_reason"}}
                                <br><br>
                                <a class="btn btn-default btn-danger" href="{{.AppUrl}}settings/profile">{{i18n .Lang "auth.active_resend"}}</a>
                            </p>
                        {{end}}
    				</div>
    			</div>
			</div>
    	</div>
	</div>
</div>
{{end}}